﻿<controls:ChildWindow x:Class="GiveAQuiz.QuizManager.Views.TakerErrorDialog"
                      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                      xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
                      Width="400"
                      Height="300"
                      Title="TakerErrorDialog">
  <Grid x:Name="LayoutRoot"
        Margin="2">
    <Grid.RowDefinitions>
      <RowDefinition />
      <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>

    <Button x:Name="OKButton"
            Content="Close"
            Click="OKButton_Click"
            Width="94"
            HorizontalAlignment="Right"
            Grid.Row="1" />
    <TextBlock Margin="8"
               TextWrapping="Wrap"
               FontSize="16">Unfortunately the quiz you have requested caused an error.  We will return you to the "Take a Quiz" page.  We apologize for any inconvinience.</TextBlock>
    <TextBlock Margin="8,0,8,8"
               TextWrapping="Wrap"
               FontSize="16"
               TextAlignment="Right"
               VerticalAlignment="Bottom"
               Height="28"
               Text="- The GiveAQuiz.com Team!" />
  </Grid>
</controls:ChildWindow>